import React, { Component } from 'react'

export default class App extends Component {
  constructor(props) {
    super(props)
    this.state = {
      value: ''
    }
  }
  onChange(e) {
    console.log(e)
    this.setState({
      value: e.target.value
    })
  }
  render() {
    var { value } = this.state
    return <div className="tederen-testInput">
      <div>在IE11上使用win10自带输入法React onChange事件出现bug</div>
      <input value={value} onChange={this.onChange.bind(this)}/>
      <div>
        { value }
      </div>
    </div>
  }
}
